package com.xayy.health.ds.service;


import cn.kawins.base.result.CheckResult;
import com.xayy.health.ds.model.DsCalculateModelTrain;
import com.xayy.health.ds.model.DsModelTrainRecord;
import com.xayy.health.mgt.model.CalculateModelTrain;
import com.xayy.health.mgt.model.dto.ModelDto;
import com.xtck.ha.common.core.web.service.IBaseService;
/**
* @ClassName: DsModelTrainRecordService
* @Description: DsModelTrainRecord业务访问接口
* @author liuyuan
* @date 2025-07-08
*/
public interface DsModelTrainRecordService extends IBaseService<DsModelTrainRecord> {
    /**
     * 获取模型准确度
     *
     * @param modelTrainRecord 模型训练记录
     * @return ResultBody
     */
    CheckResult<Object> selectInfo(DsModelTrainRecord modelTrainRecord);

    /**
     * 校验模型名称是否重复
     *
     * @param modelTrain 入参信息
     * @return 结果日志
     */
    CheckResult<Object> checkModelName(DsCalculateModelTrain modelTrain);

    /**
     * 删除模型任务
     *
     * @param modelTypeId 模型任务id
     * @return ResultBody
     */
    CheckResult<Object> deleteModelTaskById(Long modelTypeId);

    /**
     * 模型下拉列表
     *
     * @param modelDto 入参
     * @return ResultBody
     */
    CheckResult<Object> getModel(ModelDto modelDto);
}

